package com.luoxiang.socialandroid.activity;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;

import com.luoxiang.socialandroid.R;
import com.luoxiang.socialandroid.base.BaseActivity;
import com.luoxiang.socialandroid.utils.CustomClickListener;

public class RealresultActivity extends BaseActivity {
    private TextView tx_status, bt_status;
    private ImageView im_status, icon_back;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected void initListener() {
        icon_back.setOnClickListener(new CustomClickListener() {
            @Override
            protected void onSingleClick() {
                finish();
            }

            @Override
            protected void onFastClick() {

            }
        });
    }

    @Override
    protected void initLayout(Bundle savedInstanceState) {
        setContentView(R.layout.activity_auditstatus);
        setStatusBarTranslucent();
    }

    @Override
    protected void initView() {
        tx_status = findViewById(R.id.tx_status);
        bt_status = findViewById(R.id.bt_status);
        im_status = findViewById(R.id.im_status);
        icon_back = findViewById(R.id.icon_back);
        Intent intent = getIntent();
        String realmsg = intent.getStringExtra("realmsg");
        im_status.setImageResource(R.mipmap.icon_audit_shenhezhong);
        tx_status.setText(realmsg);
        bt_status.setText(R.string.mi_close);
        bt_status.setOnClickListener(new CustomClickListener() {
            @Override
            protected void onSingleClick() {
                finish();
            }

            @Override
            protected void onFastClick() {

            }
        });
    }
}